<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="moduleView" />
</head>
<body>
  <div class="Report_f">
        <div class="Report_f_1">
             <div class="Report_f_title_1">评审记录信息</div>
             <div class="o-l-search-builder f_1">
		    	  <button type="button" class="btn btn-danger btn_5 btn_right" onclick="history.go(-1)">返&nbsp;回</button>
	              <button type="button" class="btn btn-danger btn_5 btn_right" onclick="Oosp_DelAll('${contextPath}/biz/brand/supplierReview/${supplierReview.id}/delete','table1')">删&nbsp;除</button>
	              <button type="button" class="btn btn-info btn_5 btn_right" onclick="window.open('${contextPath}/biz/brand/supplierReview/${supplierReview.id}/edit','_self')">修&nbsp;改</button>
       		</div> 
       		
		    <ul class="nav nav-tabs Report_f_title_2">
			  <li class="active"><a href="#home" data-toggle="tab">基本信息</a></li>
			   <li><a href="#shopList" data-toggle="tab">可合作门店</a></li>
			</ul> 
		<div class="tab-content Report_f_title_3">
           <div class="Report_f_title_5">
            <div class="tab-content Report_f_title_3">
             <div class="tab-pane active" id="home">
                <div class="Report_f_title_4">
				  <table class="table table-bordered">
				  <tbody>
						<tr>
							<td class="text-right" style="width: 20%"><strong>评审编号:</strong></td>
							<td>${supplierReview.reviewNo}</td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>供应商编号:</strong></td>
							<td>${supplierReview.supplierNo}</td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>供应商名称:</strong></td>
							<td>${supplierReview.supplierCname}</td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>供应商等级:</strong></td>
							<td><ossp:value dictType="SUPPLIER_LEVEL" key="${supplierReview.supplierLevelId}"/></td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>品牌编号:</strong></td>
							<td>${supplierReview.brandNo}</td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>品牌名称:</strong></td>
							<td>${supplierReview.brandCname}</td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>招商分类:</strong></td>
							<td>${supplierReview.cateName}</td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>是否入库:</strong></td>
							<td><ossp:value dictType="YESORNO" key="${supplierReview.isStorage}"/></td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>供应商属性是否正确:</strong></td>
							<td><ossp:value dictType="YESORNO" key="${supplierReview.isProxyRight}"/></td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>覆盖范围是否正确:</strong></td>
							<td><ossp:value dictType="YESORNO" key="${supplierReview.isMgtscopeRight}"/></td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>是否目标战略供应商:</strong></td>
							<td><ossp:value dictType="YESORNO" key="${supplierReview.isTargetSupplier}"/></td>
						</tr>
						<tr>
							<td class="text-right" style="width: 20%"><strong>评审时间:</strong></td>
							<td><fmt:formatDate value="${supplierReview.reviewDate}" pattern="yyyy-MM-dd"/></td>
						</tr>
						
						<tr>
							<td class="text-right" style="width: 20%"><strong>评审结论:</strong></td>
							<td>${supplierReview.reviewResult}</td>
						</tr>
					</tbody>
				  </table>
				</div>
			</div>
			<div class="tab-pane" id="shopList">
					<div class="Report_f_title_4">
					<table class="table table-bordered">
						<thead>
							<tr>
								<th>门店编码</th>
								<th>门店名称</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${supplierReview.checkinShopList}" var="item"
								varStatus="var">
								<tr>
									<td>${item.shopNo}</td>
									<td>${item.shopName}</td>
								</tr>
							</c:forEach>
						</tbody>					
						</table>
				</div>
				</div>
		</div> 
	</div>	
	</div>
</div> 
</div>	
</body>
</html>